package com.fc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fc.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 购物车
 * </p>
 *
 * @author
 * @since 2024-11-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("shopping_car")
@Schema(name = "ShoppingCar对象", description = "购物车")
public class ShoppingCar extends BaseEntity {

    @Schema(title = "用户id")
    private Long userId;

    @Schema(title = "产品id")
    private Long productId;

    @Schema(title = "产品数量")
    private Long productNum;
}
